/**
 * Copyright(c) 2016-2018 by Euler
 * All Rights Reserved
 */
package com.booter.gateway.predicate;

import java.util.function.Predicate;

/**
 * @author lichunwen
 */
public class CustomReadBodyConfig {
    private Class<?> inClass;
    private Predicate predicate;

    public CustomReadBodyConfig() {
    }

    public CustomReadBodyConfig(Class<?> inClass, Predicate predicate) {
        this.inClass = inClass;
        this.predicate = predicate;
    }
    public Predicate getPredicate() {
        return predicate;
    }

    public void setPredicate(Predicate predicate) {
        this.predicate = predicate;
    }


    public Class<?> getInClass() {
        return inClass;
    }

    public void setInClass(Class<?> inClass) {
        this.inClass = inClass;
    }
}
